//
//  BaseTableAdapter.h
//  adapter
//
//  Created by ac-hu on 2018/7/1.
//  Copyright © 2018年 ac-hu. All rights reserved.
//

#import <UIKit/UIKit.h>



@interface BaseTableAdapter : NSObject<UITableViewDelegate,UITableViewDataSource>

@property(nonatomic,strong)UITableView *table;
@property(nonatomic,assign)CGFloat height;
@property(nonatomic,assign)BOOL isSection;
@property(nonatomic,strong)UIViewController *viewContrllor;
@property(nonatomic,strong)NSMutableArray *dataArr;//数据源
@property(nonatomic,copy)void (^selectIndexPath)(NSIndexPath *indexPath);

-(instancetype)initWith:(UITableView *)table;
-(void)reloadData;

@end
